<%@ include file="/taglibs.jsp"%>

<head>
    <title><fmt:message key="fileForm.confirm"/></title>
    <script type="text/javascript" src="${ctx}/scripts/file_module.js"></script>
</head>
<s:form name="transferFileMgrForm" action="returnTransferFile" method="post" validate="true">

		<table class="table">
	    	<tr>
				<td>
			        <s:property value="getText('file.id')"/>
			    </td>
			    <td>
			    	<b><s:property value="%{returnFile.id}"/></b>
			    </td>
			    <td colspan="2">
			    </td>
			</tr>
			<tr>
				<td>
			        <s:property value="getText('file.sender')"/>
			    </td>
			    <td>
			    	<b><s:property value="%{returnFile.sender}"/></b>
			    </td>
				<td>
			        <s:property value="getText('file.inputDate')"/>
			    </td>
			    <td>
			    	<b><s:property value="%{returnFile.inputDate}"/></b>
			    </td>
			</tr>
			<tr>
				<td>
			        <s:property value="getText('file.senderPhone')"/>
			    </td>
			    <td>
			    	<b><s:property value="%{returnFile.senderPhone}"/></b>
			    </td>
				<td>
			        <s:property value="getText('file.outputDate')"/>
			    </td>
			    <td>
			    	<b><s:property value="%{returnFile.outputDate}"/></b>
			    </td>
			</tr>
	    </table>	    

<fieldset>
	    <legend><s:text name="returnFileList.receiver.info.title"></s:text></legend>
	    <table>
	    	<tr>
				<td>
			        <s:property value="getText('file.receivedDate')"/>
			    </td>
			    <td>
			    	<b><s:property value="receivedDate"/></b>
			    </td>
			</tr>
			<tr>
				<td>
			        <s:property value="getText('file.receiver')"/><span class="required">*</span>
			    </td>
			    <td>
			    	<s:textfield maxlength="150" key="receiver" theme="simple"/>
			    </td>
			</tr>
			<tr>
				<td>
			        <s:property value="getText('file.receiver_info')"/>
			    </td>
			    <td>
			    	<s:textarea key="receiver_info" maxlength="250" theme="simple" cols="50" rows="7"/>
			    </td>
			</tr>
			
	    </table>
</fieldset>


<tr>
			    <td><s:hidden name="id" value="%{id}"/></td>
			    <td>
			        <s:submit cssClass="button" name="return" value="%{getText('button.return.title')}" theme="simple" onclick="form.onsubmit=null"></s:submit>
					<button type="submit" class="button" name="reject" onclick="form.onsubmit=null">
						<fmt:message key="button.cancel.title"></fmt:message>
					</button>
			    </td>
			</tr>
</s:form>

